<template>
  <div>
    <el-row>
      <el-col :span="5">
        <span>科技特派员系统</span>
        <el-menu
          default-active="2"
          class="el-menu-vertical-demo">
          <el-menu-item index="1">
            <i class="el-icon-menu"></i>
            <span slot="title"><a href="#/index" style="color: #333;">首页</a></span>
          </el-menu-item>
          <el-menu-item index="2">
            <i class="el-icon-setting"></i>
            <span slot="title"><a href="#/question" style="color: #333;">问题</a></span>
          </el-menu-item>
          <el-menu-item index="3">
            <i class="el-icon-setting"></i>
            <span slot="title"><a href="#/message" style="color: #333;">消息</a></span>
          </el-menu-item>
          <el-menu-item index="4">
            <i class="el-icon-setting"></i>
            <span slot="title"><a href="#/mine" style="color: #333;">我的</a></span>
          </el-menu-item>
        </el-menu>
      </el-col>
      <el-col :span="19">
        <!-- 子路由的显示区域 -->
        <router-view></router-view>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "Main"
}
</script>

<style scoped>

</style>
